import { request } from 'umi';

/** 保存 回执 */
export async function saveInstructReceipt(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/instruct/receipt/save', {
    method: 'POST',
    data: options || {},
  });
}

/** 分页 回执 */
export async function pageInstructReceipt(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<InstructReceiptData.ReceiptPage[]>>(
    '/instruct/receipt/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}
